package yur.wedding.modules.sys.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import yur.wedding.common.utils.Query;

import yur.wedding.modules.sys.dao.SysProcessRequestlogDao;
import yur.wedding.modules.sys.entity.SysProcessRequestlogEntity;
import yur.wedding.modules.sys.service.SysProcessRequestlogService;
import yur.wedding.utils.PageUtils;


@Service("sysProcessRequestlogService")
public class SysProcessRequestlogServiceImpl extends ServiceImpl<SysProcessRequestlogDao, SysProcessRequestlogEntity> implements SysProcessRequestlogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysProcessRequestlogEntity> page = this.page(
                new Query<SysProcessRequestlogEntity>().getPage(params),
                new QueryWrapper<SysProcessRequestlogEntity>()
        );

        return new PageUtils(page);
    }

}
